.Net Framework > v1.1.4322 > System > Reflection > Emit > TypeBuilder > DefinePInvokeMethod DefinePInvokeMethod(String,String,MethodAttributes,CallingConventions,Type,Type[],CallingConvention,CharSet)
DefinePInvokeMethod(String,String,String,MethodAttributes,CallingConventions,Type,Type[],CallingConvention,CharSet)
DefinePInvokeMethod(String,String,String,MethodAttributes,CallingConventions,Type,Type[],Type[],Type[],Type[][],Type[][],CallingConvention,CharSet)


DefinePInvokeMethod(String,String,MethodAttributes,CallingConventions,Type,Type[],CallingConvention,CharSet)

Category
Method
Description
Defines a method given its name, the name of the DLL in which the method is defined, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the flags.
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
dllNameString
attributesMethodAttributes
callingConventionCallingConventions
returnTypeType
parameterTypesType[]
nativeCallConvCallingConvention
nativeCharSetCharSet
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

DefinePInvokeMethod(String,String,String,MethodAttributes,CallingConventions,Type,Type[],CallingConvention,CharSet)

Category
Method
Description
Defines a method given its name, the name of the DLL in which the method is defined, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the flags.
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
dllNameString
entryNameString
attributesMethodAttributes
callingConventionCallingConventions
returnTypeType
parameterTypesType[]
nativeCallConvCallingConvention
nativeCharSetCharSet
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

DefinePInvokeMethod(String,String,String,MethodAttributes,CallingConventions,Type,Type[],Type[],Type[],Type[][],Type[][],CallingConvention,CharSet)

Category
Method
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
dllNameString
entryNameString
attributesMethodAttributes
callingConventionCallingConventions
returnTypeType
returnTypeRequiredCustomModifiersType[]
returnTypeOptionalCustomModifiersType[]
parameterTypesType[]
parameterTypeRequiredCustomModifiersType[]
parameterTypeOptionalCustomModifiersType[]
nativeCallConvCallingConvention
nativeCharSetCharSet
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database